package design_pattern.command;

public class Client {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command command;
        command = (Command) XMLUtil.getBean();
        receiver.setCommand(command);
        receiver.click();
    }
}
